$OpenBSD: patch-ext_swift_db_sqlite3_extconf_rb,v 1.2 2013/06/21 22:37:02 sthen Exp $
--- ext/swift/db/sqlite3/extconf.rb.orig	Wed Dec 31 16:00:00 1969
+++ ext/swift/db/sqlite3/extconf.rb	Tue Dec  4 11:03:04 2012
@@ -6,16 +6,12 @@ $CFLAGS = '-std=c99 -Os'
 
 inc_paths = %w(
   /usr/include
-  /usr/local/include
-  /opt/local/include
-  /sw/include
+  ${LOCALBASE}/include
 )
 
 lib_paths = %w(
   /usr/lib
-  /usr/local/lib
-  /opt/local/lib
-  /sw/lib
+  ${LOCALBASE}/lib
 )
 
 uuid_inc,  uuid_lib      = dir_config('uuid',  '/usr/include/uuid', '/usr/lib')
